home *** CD-ROM | disk | FTP | other *** search
- #pragma once
-
- //====
- // AngleCaption.h
- //
- // Allows you to display the flow
- // in a caption!
- //=====
-
-
- #include <LPane.h>
- #include <LPeriodical.h>
- #include <LOffscreenView.h>
- #include "InputSprocket.h"
- #include "InputSprocketDriver.h"
-
- class ISpEventPane : public LOffscreenView, LPeriodical
- {
- public:
- enum {class_ID = 'ISep'};
-
- ISpEventPane(LStream *inStream);
- ~ISpEventPane();
-
- static ISpEventPane *CreateISpEventPaneStream(LStream *inStream);
- void SpendTime(const EventRecord &inMacEvent);
- void DrawSelf();
-
-
- private:
-
- Boolean mDataValid;
-
- typedef struct
- {
- OSStatus theError;
- AbsoluteTime when;
- UInt32 data;
- float percent;
- ISpElementReference theElement;
- UInt32 refCon;
- OSType label;
- OSType kind;
- Str63 theString;
- } PrintRecord;
-
- PrintRecord mPrintRecord;
- };
-